//
//  BangDingBankCardTableViewCell.m
//  联付商圈
//
//  Created by 于洋 on 2017/7/24.
//  Copyright © 2017年 lianfu. All rights reserved.
//

#import "BangDingBankCardTableViewCell.h"

@implementation BangDingBankCardTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        _bankCardLb = [[UILabel alloc]initWithFrame:CGRectMake(10, 0, 100, self.frame.size.height)];
        _bankCardLb.textColor = [UIColor blackColor];
        _bankCardLb.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:_bankCardLb];
        
        _bankCardTf = [[UITextField alloc]initWithFrame:CGRectMake(_bankCardLb.maxX, 0, self.frame.size.width-100, self.frame.size.height)];
        _bankCardTf.font = [UIFont systemFontOfSize:14.0];
        [_bankCardTf setValue:[UIFont systemFontOfSize:14.0] forKeyPath:@"_placeholderLabel.font"];
        [self.contentView addSubview:_bankCardTf];
        
         }
    
    return self;
}
@end
